package ca.ubc.icapture.genapha.forms;

import ca.ubc.icapture.genapha.beans.SNPInfo;
import icapture.SQLMgr;
import icapture.beans.DB.Cohort;
import icapture.beans.PageLink;
import org.apache.struts.action.ActionForm;

import java.util.ArrayList;

public class GeneSummaryForm extends ActionForm
{

    private ArrayList<SNPInfo> snpList = new ArrayList<SNPInfo>();
    private ArrayList<Cohort> cohortList;
    private String geneName;
    private String geneAliases;
    private String chromosome;
    private ArrayList<PageLink> geneLinks;
    private ArrayList<PageLink> pathwayLinks;

    public GeneSummaryForm()
    {
        super();
        cohortList = SQLMgr.getCohorts();
    }

    /**
     * @return the snpList
     */
    public ArrayList<SNPInfo> getSnpList()
    {
        return snpList;
    }

    /**
     * @param snpList the snpList to set
     */
    public void setSnpList(ArrayList<SNPInfo> snpList)
    {
        this.snpList = snpList;
    }

    /**
     * @return the cohortList
     */
    public ArrayList<Cohort> getCohortList()
    {
        return cohortList;
    }

    /**
     * @param cohortList the cohortList to set
     */
    public void setCohortList(ArrayList<Cohort> cohortList)
    {
        this.cohortList = cohortList;
    }

    /**
     * @return the size of cohortList
     */
    public int getCohortListSize()
    {
        return cohortList.size();
    }

    /**
     * @return the geneName
     */
    public String getGeneName()
    {
        return geneName;
    }

    /**
     * @param geneName the geneName to set
     */
    public void setGeneName(String geneName)
    {
        this.geneName = geneName;
    }

    /**
     * @return the geneAliases
     */
    public String getGeneAliases()
    {
        return geneAliases;
    }

    /**
     * @param geneAliases the geneAliases to set
     */
    public void setGeneAliases(String geneAliases)
    {
        this.geneAliases = geneAliases;
    }

    /**
     * @return the chromosome
     */
    public String getChromosome()
    {
        return chromosome;
    }

    /**
     * @param chromosome the chromosome to set
     */
    public void setChromosome(String chromosome)
    {
        this.chromosome = chromosome;
    }

    /**
     * @return the geneLinks
     */
    public ArrayList<PageLink> getGeneLinks()
    {
        return geneLinks;
    }

    /**
     * @param geneLinks the geneLinks to set
     */
    public void setGeneLinks(ArrayList<PageLink> geneLinks)
    {
        this.geneLinks = geneLinks;
    }

    /**
     * @return the pathwayLinks
     */
    public ArrayList<PageLink> getPathwayLinks()
    {
        return pathwayLinks;
    }

    /**
     * @param pathwayLinks the pathwayLinks to set
     */
    public void setPathwayLinks(ArrayList<PageLink> pathwayLinks)
    {
        this.pathwayLinks = pathwayLinks;
    }
}
